package com.example.fitnessservice.module.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseOrderDetails {
    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;
    private String orderNo;
    private Integer orderUserId;
    private Integer orderCourseId;
    private Integer orderCoachId;
    private Integer orderStatus;
    private double orderMoney;
    private UserInfo userInfo;
    /*private Date courseStartTime;
    private Date courseEndTime;*/
    private Integer orderCampIf;
    private CourseDetails courseDetails;
    private List<CourseDetailsCamp> courseDetailsCamp;
    private Coach coach;
}
